package org.jeecg.modules.yw.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.yw.entity.EnterpriseStatic;

import java.util.List;

@Mapper
public interface EnterpriseStaticMapper extends BaseMapper<EnterpriseStatic> {

    IPage<EnterpriseStatic> pageEnterprise(Page<EnterpriseStatic> page, @Param("start") String start,
                                           @Param("end") String end, @Param("name") String name,
                                           @Param("areas") String[] areas);

    List<EnterpriseStatic> listEnterprise(@Param("start") String start,
                                          @Param("end") String end, @Param("name") String name,
                                          @Param("areas") String[] areas);
}
